package cn.com.chengmandian.bike.service;

import cn.com.chengmandian.bike.dto.MessageInfoDto;
import cn.com.chengmandian.bike.model.EbMessageInfo;
import cn.com.chengmandian.bike.model.vo.MessageInfoVo;
import cn.com.chengmandian.bike.model.vo.SysMessageTotalVo;
import cn.com.chengmandian.service.bike.constants.MessageBusinessTypeEnum;
import cn.com.chengmandian.service.bike.constants.MessageChannelEnum;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 电单车运营-用户消息 服务类
 * </p>
 *
 * @author AutoGenerator
 * @since 2021-12-30
 */
public interface IEbMessageInfoService extends IService<EbMessageInfo> {

    IPage<MessageInfoVo> getPage(MessageInfoDto messageInfoDto);

    void addSys(Integer memberId, MessageChannelEnum channel, String content, String image, MessageBusinessTypeEnum businessType, Integer businessId);

    SysMessageTotalVo total(Integer memberId);
}
